import router from '@ohos.router';
export default {
    data: {
       props:['name']
    },
    onInit() {

    },
    goBack(){
        this.$emit('goBack')
        router.back()
    }
}